﻿using MediatR;
using THE_WIND_RISES.Common.Dtos;

namespace Production_Set.API.Application.Commands.Orderers
{
    public class OrderLineCreateCommend : IRequest<Result>
    {
        public int OrderLineId { get; set; }

        /// <summary>
        /// 物料
        /// </summary>
        public int InventoryInfoId { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public int Prices { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Nums { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 行摘要
        /// </summary>
        public string Summary { get; set; }

        /// <summary>
        /// 订单
        /// </summary>
        public int OrdersId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string? Handle { get; set; }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string? HandleContext { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? HandleTime { get; set; }
        /// <summary>
        /// pid=1:创建   pid=2:审批   pid=3:删除   pid=4:修改  
        /// </summary>
        public int Pid { get; set; }
    }
}
